package com.xli.mis.codemain.entity.dto;

import com.xli.dto.search.SearchDTO;
import com.xli.dto.search.type.QueryType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class CodeMainSearchDTO extends SearchDTO {

    @Schema(description = "字典名")
    @QueryType(value = QueryType.Type.LIKE,field = "code_name")
    private String codeName;

    @Schema(description = "子系统分类")
    @QueryType(value = QueryType.Type.EQ,field = "category_id")
    private String categoryId;
}
